package com.ibeeking.gmc.global.g.rest.service;

import com.ibeeking.gmc.global.api.common.dto.JsapiSignatureDTO;
import com.ibeeking.gmc.global.api.common.query.JsapiSignatureQuery;
import me.chanjar.weixin.cp.api.WxCpService;
import me.chanjar.weixin.cp.tp.service.WxCpTpService;
import me.chanjar.weixin.open.api.WxOpenMaService;
import me.chanjar.weixin.open.api.WxOpenMpService;
import me.chanjar.weixin.open.api.WxOpenService;

/**
 * @ClassName IWxOpenService
 * @Description
 * @Author ibeeking
 * @Date 2021-06-16 16:06
 **/
public interface IWxOpenService {

    WxOpenService getWxOpenService(Long configId);

    WxOpenMaService getWxOpenMaService(Long tenantId, String appId);

    WxOpenMpService getWxOpenMpService(Long tenantId, String appId);

    WxCpService getWxCpService(Long tenantId, String appId);

    WxCpTpService getWxCpTpService(Long tenantId, String appId);

    WxCpTpService getWxCpDkService(Long tenantId, String appId);

    JsapiSignatureDTO createJsapiSignature(JsapiSignatureQuery query);
}
